home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2043 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  628 b 

  1. Path: news.production.compuserve.com!news
  2. From: Tal Garfinkel <73400.667@CompuServe.COM>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP!  Need command to execute COM/EXE/BAT programs
  5. Date: 18 Jan 1996 18:47:49 GMT
  6. Organization: CompuServe, Inc. (1-800-689-0736)
  7. Message-ID: <4dm4kl$t93$1@mhafc.production.compuserve.com>
  8. References: <4di4ke$j77@news.cencom.net>
  9.  
  10. use the system() function
  11.  
  12. function prototype is void system(char *) I believe with the char 
  13. pointer being a string with the desired command.
  14.  
  15. it's in <stdlib.h>
  16.  
  17. now stop asking stupid questions and buy a book or read the FAQ,
  18. doesnt anyone know how to RTFM anymore?
  19.